package com.gxa.jjty.admin.service;

import com.github.pagehelper.PageInfo;
import com.gxa.jjty.core.pojo.OrderoRecord;
import com.gxa.jjty.core.pojo.Torder;
import com.gxa.jjty.core.service.BaseService;
import io.swagger.models.auth.In;

import java.util.Date;
import java.util.List;

/**
 * @author wanjun
 * @version 1.0
 * @date 2021/12/1 20:19
 */
public interface TorderService extends BaseService<Torder> {
    PageInfo<Torder>  selectOrderByField(Date from, Date to, Torder torder, Integer page, Integer size) throws IllegalAccessException;
    public PageInfo<Torder> selectAllOrder(Integer page, Integer size) throws Exception;
    void updateByIdAndRecord(Torder torder, OrderoRecord orderoRecord) throws IllegalAccessException;
    List getOrderDetail(String  orderNumber);
}
